Abstract: As we know, many air buildings are built and the ventilators are not work in timely manner and also less. Indoor air quality become an issue in recent years because it directly relates to human health. Therefore the clean air is essential especially when it comes to indoor air. To mitigate this worriment, the wireless sensor networks (WSNs) have the dormant. Wireless sensor networks are easy to afford and implement. Indoor Carbon Dioxide measuring is very necessary because at inside environment, its concentration is more than outside environment due to limited space. As the number of the nodes that join the network increases the need for energy-ef?cient, spectrum-ef?cient and resource-constrained protocol also increases. In this paper, two routing protocols proactive and reactive are introduced. The Destination-Sequenced Distance-Vector routing (DSDV) protocol is proactive protocol and Ad Hoc on-demand Distance vector routing (AODV) protocol is reactive protocol. Firstly we monitored the carbon dioxide gas through simple wireless sensors network with proposed protocols and then monitored through cognitive network with proposed protocols. Then the performance results has been carried out in terms of throughput w.r.t time which shows that by using cognitive properties on monitoring system performs better than simple wireless sensor network system. Secondly, the performance of AODV, DSDV and existing (CNOR- cognitive networking with opportunistic routing) protocol in terms of throughput, total energy consumption and average end-to-end delay through cognitive wireless sensor networks has been compared. The AODV performs better than DSDV and existing (CNOR- cognitive networking with opportunistic routing) protocol.

Keywords: Indoor air quality (IAQ), CO2, Cognitive wireless sensor networks (CWSNs), AODV, DSDV,CNOR, proactive, reactive.